function ListWindow(viewTitle,tableData){
	
	var self = Titanium.UI.createView({
		title: viewTitle,
		backgroundColor:"#fff"
	});
	
	var table1 =  Titanium.UI.createTableView({
		data:tableData
	});
	
	self.add(table1);
	return self;
};

module.exports = ListWindow;
